package dicts;

import java.io.Serializable;

public class RealmDict implements Serializable {

	private static final long serialVersionUID = 1L;

	public static String RPC;
	public static String SYSTEM;
	public static String PORTAL;
	public static String GATEWAY;
	public static String MERCHANT;
	public static String MOCK;

	static {
		if ("linux".equalsIgnoreCase(System.getProperty("os.name"))) {
			RPC = "https://rpc.atepay.com/";
			SYSTEM = "https://sys.atepay.com/";
			PORTAL = "https://portal.atepay.com/";
			GATEWAY = "https://gateway.atepay.com/";
			MERCHANT = "https://mer.atepay.com/";
			MOCK = "https://mock.atepay.com/";
		} else {
			RPC = "http://localhost:1111/rpc/";
			SYSTEM = "http://localhost:2222/system/";
			PORTAL = "http://localhost:3333/portal/";
			GATEWAY = "http://localhost:4444/gateway/";
			MERCHANT = "http://localhost:5555/merchant/";
			MOCK = "http://localhost:6666/mock/";
		}
	}

}
